package com.zhiliao.module.web.cms.service;

import com.zhiliao.common.base.BaseService;
import com.zhiliao.mybatis.model.TCmsTopic;

import java.util.List;

/**
 * Description:
 *
 * @author qirong
 * @date 2018-10-26
 */
public interface TopicService extends BaseService<TCmsTopic,Integer> {

    /**
     * AllCount
     * @return
     */
    Integer allCount();

    /**
     * findByRecommendList
     * @param siteId
     * @param isRecommend
     * @param pageSize
     * @return
     */
    List<TCmsTopic> findByRecommendList(Integer siteId,boolean isRecommend, Integer pageSize);
}
